package com.qing.aop_web_params.controller;

import com.qing.aop_web_params.aspect.WebLog;
import com.qing.aop_web_params.entity.User;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class HelloController {

	@PostMapping("/login")
	@WebLog(description = "登录接口")
	public String login(@RequestBody User user) {
		return "Hello";
	}
}
